export default {
  namespaced: true,
  state: {
    networkError: false,
  },
  getters: {
    networkError: state => state.networkError,
  },
  mutations: {
    ['SET_NETWORK_ERROR'] (state, status = true) {
      state.networkError = status;
      setTimeout(() => {
        state.networkError = false;
      }, 30000);
    }
  },
  actions: {}
}
